package com.no.seckill.service;

import com.no.seckill.entity.Provider;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhang kun
 * @Classname ProviderService
 * @Description TODO
 * @Date 2021/9/1 21:39
 */

public interface ProviderService {
    List<Provider> selectAll();

    void insert(Provider provider);

    void delete(String name,String code);

    int update(Provider provider);
}
